Comment on the Paper "Error Detection in Formal Languages"
نویسنده
چکیده
In a paper of W. B. Smith [1], some normal form theorems have been presented about context-sensitive grammars. Professor A. Salomaa has noticed that the proof of Lemma 2 in this paper was incorrect and he has given an example in which the proof does not work. 1 It was guessed that there was no simple way to repair Smith's proof, while M. Penttonen has found a rather complicated proof of a somewhat stronger normal form [2]. We shall give here a construction that is quite simple and still works. Before doing so, we must mention that the proof of Lemma 1 in Smith's paper is also incorrect and a similar bug can be found also in the well-known paper of Kuroda [3]: namely, on page 211 of the latter it is stated that each rule AB-~CD of a context-sensitive grammar can be replaced by three rules: AB-~A'B, A'B-~ A'D and A'D-+ CD where A' is a new non-terminal symbol. Consider, however, the following rules: S-~ AB, B ~ DE, AB ~ CD. The above replacement yields a set of rules permitting a derivation S *~ CDE which does not exist in the original grammar. In order to avoid this parasitical derivation we have to apply four rules: AB ~ A'B, A'B-+ A'B', A'B'-~ CB' and CB' ~ CD, where A' and B' are new non-terminal symbols. The situation is more complex in the case of Smith's proofs. LEM~A 1 asserts that any language generated by a left-context-sensitive grammar G can be generated by some grammar G' all of whose rules are of the form A-~ a, A-~ BC or BA-~ BC, where A, B, C are non-terminals and a is terminal. The proof of this lemma claims that a rule of the form A ~ B is merely the replacing of one non-terminal symbol by another and, thus, it can be eliminated by replacing A by B in all rules of the grammar. But, again, this may lead to parasitical derivations as can be seen in
منابع مشابه
Deterministic Fuzzy Automaton on Subclasses of Fuzzy Regular ω-Languages
In formal language theory, we are mainly interested in the natural language computational aspects of ω-languages. Therefore in this respect it is convenient to consider fuzzy ω-languages. In this paper, we introduce two subclasses of fuzzy regular ω-languages called fuzzy n-local ω-languages and Buchi fuzzy n-local ω-languages, and give some closure properties for those subclasses. We define a ...
متن کاملMaximal Error-Detecting Capabilities of Formal Languages
A (combinatorial) channel is a set of pairs of words describing all the possible inputoutput channel situations. We introduce the concept “maximal error-detecting capability” of a given language, with respect to a certain class of channels, which is simply a maximal channel for which the given language is error-detecting. The new concept is intended to address formally the question of “finding ...
متن کاملOn the Decidability of 2-Infix-Outfix Codes
The theory of codes is a fertile area at the intersection of formal language theory, error detection and correction, data compression and data security [6]. Theoretical research into codes is often interested with combinatorial properties of formal languages related to codes. In particular, there has been substantial recent interest in classes of codes defined by certain “finite subset” conditi...
متن کاملThe Separability of Formal Languages
— We introducé the concept of a separator, a concept voeaker than aparser or a recognizer; however a separator can be usedvery conveniently when speedis important andaprecise error recovery is not mandatory. We distinguish between internai and external séparation criteria and show hom a set of these criteria isforming a hierarchy of more and more complex separators. Résumé. — On introduit Ie co...
متن کاملIdentity and Representation through Language in Ghana: The Postcolonial Self and the Other
Research related to colonialism and post colonialism shows how the identities of indigenous people were constructed and how these identities are reconstructed in our contemporary world. The thrust of this paper is that colonialism brought a shift in the linguistic structure of Ghana with the introduction of the use of English among Ghanaians. The coexistence of both Ghanaian languages and Engli...
متن کاملDesign and implementation of Persian spelling detection and correction system based on Semantic
Persian Language has a special feature (grapheme, homophone, and multi-shape clinging characters) in electronic devices. Furthermore, design and implementation of NLP tools for Persian are more challenging than other languages (e.g. English or German). Spelling tools are used widely for editing user texts like emails and text in editors. Also developing Persian tools will provide Persian progr...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- J. Comput. Syst. Sci.
دوره 8 شماره
صفحات -
تاریخ انتشار 1974